﻿CREATE TABLE [dbo].[WebApplication_Feature] (
    [WebApplicationID] UNIQUEIDENTIFIER NOT NULL,
    [FeatureID]        UNIQUEIDENTIFIER NOT NULL,
    CONSTRAINT [PK_WebApplication_Feature] PRIMARY KEY CLUSTERED ([WebApplicationID] ASC, [FeatureID] ASC),
    CONSTRAINT [FK_WebApplication_Feature_Feature] FOREIGN KEY ([FeatureID]) REFERENCES [dbo].[Feature] ([FeatureID]),
    CONSTRAINT [FK_WebApplication_Feature_WebApplication] FOREIGN KEY ([WebApplicationID]) REFERENCES [dbo].[WebApplication] ([WebApplicationID])
);

